package com.xls.box2023.entity;

import android.text.TextUtils;

import com.lzz.bottomencapsulation.consts.Consts;

import java.io.Serializable;

public class JiFenDuiHuanJiLuEntity implements Serializable {

    /**
     * appId : 0
     * appUserId : 0
     * coins : 0
     * createTime : 2023-08-25T08:08:10.875Z
     * id : 0
     * score : 0
     * status : 0
     * typeId : 0
     * updateTime : 2023-08-25T08:08:10.875Z
     */

    private String appId;
    private String appUserId;
    private String coins;
    private String createTime;
    private String id;
    private String score;
    private int status;
    private String typeId;
    private String updateTime;

    private String appName;

    private String subsidyScore;

    public String getSubsidyScore() {
        return subsidyScore;
    }

    public String getSubsidyScoreStr(){
        if (TextUtils.isEmpty(subsidyScore))return "0";
        Long s=Long.parseLong(subsidyScore);
        return s/ Consts.JiFenDanWei+"";
    }

    public String getAppName() {
        return appName;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppUserId() {
        return appUserId;
    }

    public void setAppUserId(String appUserId) {
        this.appUserId = appUserId;
    }

    public String getCoins() {
        return coins;
    }

    public void setCoins(String coins) {
        this.coins = coins;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getScore() {
        return score;
    }
    public String getScoreStr() {
        if (TextUtils.isEmpty(score))return "0";
        Long s=Long.parseLong(score);
        return s/ Consts.JiFenDanWei+"";
    }
    public void setScore(String score) {
        this.score = score;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
